package com.woniu.postbar.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2023-05-20
 */
@Getter
@Setter
  @TableName("t_post_admin")
@ApiModel(value = "PostAdmin对象", description = "")
public class PostAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户id")
      private Integer userId;

      @ApiModelProperty("评论id")
      private Integer commentId;

      @ApiModelProperty("点赞id")
      private Integer likeId;

      @ApiModelProperty("物业发布的公告标题")
      private String title;

      @ApiModelProperty("物业发布的公告")
      private String notice;

      @ApiModelProperty("发布时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.UPDATE)
      private Date updateTime;
}
